package com.todo.content.iface.backend.request;

import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/14 21:10
 * @description
 */
@Data
@Schema(title = "多条件查询内容入参", description = "多条件查询内容入参")
public class QueryContentInfoByConditionReq extends PageRequest {
    /**
     * 主键
     */
    @Schema(title = "主键id", description = "主键id")
    private Long id;
    /**
     * 用户id
     */
    @Schema(title = "用户id", description = "用户id")
    private Long userId;
    /**
     * 内容标题
     */
    @Schema(title = "内容标题", description = "内容标题")
    private String title;
    /**
     * 分类code
     */
    @Schema(title = "分类code", description = "分类code")
    private String classifyCode;
    /**
     * 当前状态
     * ContentStatusEnum
     */
    @Schema(title = "当前状态", description = "当前状态")
    private Integer status;

    public boolean baseCheck() {
        return true;
    }
}
